package com.koron.ticket.work.workline.service;


import com.koron.bean.base.Response;
import com.koron.ticket.work.workline.bean.WorkLine;
import com.koron.ticket.work.workline.bean.WorkLineQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketWorkLine)表服务接口
 *
 * @author 朱超
 * @since 2021-11-11 17:19:02
 */
public interface WorkLineService {

    Response insert(SessionFactory factory, WorkLine workLine);

    Response batchInsert(SessionFactory factory, List<WorkLine> list);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, WorkLine workLine);

    Response getById(SessionFactory factory, String id);

    WorkLine getSingle(SessionFactory factory, WorkLineQuery workLineQuery);

    List<WorkLine> getList(SessionFactory factory, WorkLineQuery workLineQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
